//
//  BlueToothDataHandle.h
//  JunZeWristband
//
//  Created by Kendama on 2017/9/19.
//  Copyright © 2017年 DT. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DTCDeviceModel.h"
#import "DeviceInfoModel.h"

@protocol timedelegate <NSObject>

- (void)hshhshshs:(NSString *)contentMoth andmin:(NSString *)min;


@end

@interface BlueToothDataHandle : NSObject

+ (BlueToothDataHandle *)sharedInstance;

/** <#Description#> **/
@property(nonatomic,weak) id<timedelegate> delegate;

/** <#Description#> **/
@property(nonatomic,strong) void (^sportBlock)(NSString *step,NSString *mileage,NSString *calorie);
@property(nonatomic,strong) void (^radiateBlock)(NSString *radiate);
@property(nonatomic,strong) void (^sleepBlock)(NSString *deepSleep,NSString *lightSleep);

/** DeviceInfoModel **/
@property(nonatomic,strong) DeviceInfoModel *deviceInfoModel;


- (void)notifyBlueToothWireteDataBack:(NSData *)data sendeByDevice:(DTCDeviceModel *)deviceModel;
- (void)getCurrentWeekWithIndex:(NSInteger)dateIndex result:(void(^)(NSString *startTime,NSString *endTime,NSArray *weekArray))result;
- (void)getCurrentMonthWithIndex:(NSInteger)dateIndex result:(void(^)(NSString *startTime,NSString *endTime))result;
- (NSArray *)getMonthWithIndex:(NSInteger)dateIndex;
- (NSArray *)getWeekWithIndex:(NSInteger)dateIndex;

@property(nonatomic,copy) NSString *battery;
@property(nonatomic,assign) CGFloat radiateMax;


@end
